﻿@model PaymentInfoModel
@using Spotshub.Plugin.Payments.GlobalPayments.Models
@using Nop.Web.Framework.UI
@{
    Layout = null;
}

<div class="confirm-order">
    @if (Model.Warnings.Count > 0)
    {
        <div class="clear">
        </div>
        <div class="error-block">
            <div class="message-error">
                @for (int i = 0; i < Model.Warnings.Count; i++)
                {
                    @Model.Warnings[i]

                    if (i != Model.Warnings.Count - 1)
                    {
                    <br />
                    }
                }
            </div>
            <p>
                Go back to the <a target="_parent" href="@Url.RouteUrl("CheckoutPaymentMethod")">Payment
                    Page</a> to try again. If you continue to have problems please contact us and
                we will be able to assist you.
            </p>
        </div>
    }
    else
    {
        <input type="hidden" name="sessionId" id="sessionId" value="@Model.StoreId" />
    }
</div>
